/**
 *
 */
var assert = require("assert");
var should = require("should");
var logger = require("../lib/utils/logger");
var testutils = require("./testutils");

describe("测试modules模块。", function () {
    it("Successfully loaded.", function (done) {
        testutils.check(done, function () {
            var lz = require("../lib/utils/modules")();
        });
    });

    it("Successfully loaded twice.", function (done) {
        testutils.check(done, function () {
            var lz = require("../lib/utils/modules")();
            assert.notEqual(lz.User, null);
        });
    });
});
